# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#   
#   cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
#   Major.create(:name => 'Daley', :city => cities.first)


    Question.create "correct_choices" => [0],
        "body" => "How do you call a constructor in Ruby?",
        "choices" => [
            "obj = Object.new",
            "obj = new Object",
            "obj = Object.initialize",
            "obj = Object()"
        ]

    Question.create "correct_choices" => [0,1,2],
        "body" => "Which of the following can be used to create a callable object?",
        "choices" => [
            "funct = lambda{puts 'Grr'}",
            "funct = Proc.new{puts 'Grr'}",
            "funct = Proc{puts 'Grr'}",
            "funct = callable{puts 'Grr'}"
        ]
